package edu.ahut.designpattern.singleton.joke;

import org.junit.Test;

public class Application {
    @Test
    public void main(){
        HandsomeMan wxb= HandsomeMan.getInstance();

        HandsomeMan jianlingHusband=HandsomeMan.getInstance();
        HandsomeMan akeHasband=HandsomeMan.getInstance();

        System.out.println(wxb);
        System.out.println(jianlingHusband);
        System.out.println(akeHasband);
    }
}
